package 数字格式化;

import java.text.NumberFormat;

public class Main {
    public static void main(String[] args){
        Integer a = 123456;
        NumberFormat nf = NumberFormat.getInstance();
        String format = nf.format(a);
        System.out.println(format);
    }
}
